package com.qi.spzx.product.mapper;

import com.qi.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2024/2/25 20:07
 * @Version 1.0.0
 */
@Mapper
public interface ProductMapper {

    @Select("select * from product where id = #{id} and is_deleted = 1")
    Product selectById(Long id);

}
